package com.qiuqiu.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * @author ：张艳杰
 * @description：TODO
 * @date ：Created in 2021/8/22 10:30
 * @modified By：
 * @version: 1.0
 */
@Data
@Entity(name="todo_list")
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handle"})
public class TodoList {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer Id;

    private String taskName;
    private Integer isCompleted;
    private Integer isEditing;

}
